package com.itheima.mythread2;

public class MyRun implements Runnable {
    @Override
    public void run() {
        //打印100次hello world
        for (int i = 0; i < 100; i++) {
            Thread t = Thread.currentThread();
            System.out.println(t.getName() + "Hello World");
        }
    }
}
